<html><head><title>New Account</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<?php
include "validate.php";
include "header.php";
?>
<h2>Create New Administrator</h2>
<h3>Note:  The password is sent unencrypted</h3>
<?php
if (isset($_SESSION["message"]))
{
	echo "<h4><font color = 'red'>" . $_SESSION["message"] . "</font></h4>";
	$_SESSION['message'] = NULL;
	unset($_SESSION['message']);
}
?>
<form action = 'new_admin.php' method = 'post'>
<table name = 'admin'><tr>
<td>Administrator Name:</td>
<td><input type = 'text' name = 'name' /></td>
</tr><tr>
<td>Login Name:</td>
<td><input type = 'text' name = 'login' /></td>
</tr><tr>
<td>Password:</td>
<td><input type = 'password' name = 'pwd' /></td>
</tr><tr>
<td>Retype:</td>
<td><input type = 'password' name = 'pwd2' /></td>
</tr><tr>
<td>Current Admin Password:</td>
<td><input type = 'password' name = 'admin_pwd' /></td>
</tr></textarea></td></tr></table>
<input type = 'submit' value = 'Create' /></form>
</body></html>
